<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Sugar</title>
</head>

<body>
  <script>

    const arr = [{ isSelect: true }, { isSelect: true }, { isSelect: true }];

    // every 方法：如果数组每一项条件都为 true，最终结果为 true，有一项结果为 false，最终结果为 false
    // const res = arr.every(item => 条件);
    const res = arr.every(item => item.isSelect);

    console.log(res);

    // arr.some()

  </script>
</body>

</html>